//
// Created by de on 3/31/21.
//

#ifndef FORCEEIGENTEST_MYSQLDAOIMPL_H
#define FORCEEIGENTEST_MYSQLDAOIMPL_H

#include "SqlDaoInterface.h"
//#include <mysql/jdbc.h>

class MySqlDaoImpl{
public:
    MySqlDaoImpl();

    bool connect();
    void disconnect();

    void selectProperty(const std::string &Property, std::string & result);
    void insertObject() ;
    void remove();
    void removeAllInfo();

    bool checkTableExist() ;

private:
    void selectObject();
    void insert();
    bool checkDataBaseExist();
private:
//    sql::Driver * driver;
//    std::shared_ptr< sql::Connection > p_conn;
};


#endif //FORCEEIGENTEST_MYSQLDAOIMPL_H
